package com.ruoyi.management.base.config;

import com.ruoyi.system.domain.JsonToArrayListTypeHandler;
import org.apache.ibatis.type.TypeHandler;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@MapperScan("com.ruoyi.management.dao.mapper")
public class MybitsConfig {

    @Bean
    public TypeHandler<String[]> jsonToArrayListTypeHandler() {
        return new JsonToArrayListTypeHandler();
    }
}
